package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.TravelContent;
import cn.wolfcode.trip.base.query.TravelQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelService {

    void saveOrUpdate(Travel travel);


    PageInfo query(TravelQueryObject queryObject);

    Travel selectByPrimaryKey(Long id);

    TravelContent getContentById(Long id);

    void changeState(Travel travel);

}
